package com.town.garden.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.town.garden.entiy.request.SearchAlarmEventRequest;
import com.town.garden.entiy.response.SearchAlarmEventResponse;
import org.springframework.http.ResponseEntity;

/**
 * @Description 查询告警事件接口
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/5/13
 */
public interface NvrAlarmEventService {
    /**
     * 查询告警事件
     * @param searchAlarmEventRequest
     * @return
     * @throws JsonProcessingException
     */
    ResponseEntity<SearchAlarmEventResponse> searchAlarmEvent(SearchAlarmEventRequest searchAlarmEventRequest) throws JsonProcessingException;
}
